package com.xuerhua.yxt.reqVo;

import org.apache.commons.lang.StringUtils;

import com.xuerhua.yxt.model.ClassGroupChat;

public class ClassGroupChatReqVO extends ClassGroupChat {

	private static final long serialVersionUID = -8171969471416712994L;

	private String baseData;
	
	private String imageName;

	public String getBaseData() {
		return baseData;
	}

	public void setBaseData(String baseData) {
		this.baseData = baseData;
	}
	
	public String getImageName() {
		return imageName;
	}

	public void setImageName(String imageName) {
		this.imageName = imageName;
	}

	public String getExtName() {
		if(StringUtils.isNotBlank(imageName)) {
			return imageName.substring(imageName.lastIndexOf(".") + 1, imageName.length());
		}
		return null;
	}
}
